// 订单相关
import request from "@/utils/request";

// 订单列表
export function getListApi(data) {
  return request({
    url: "/api/order.income/getList",
    method: "post",
    data,
  });
}

export function doAppendApi(data) {
  return request({
    url: "/api/order.income/create",
    method: "post",
    data,
  });
}

export function doUpdateApi(data) {
  return request({
    url: "/api/order.income/update",
    method: "post",
    data,
  });
}

// 我的应收款列表
export function getReceivableListApi(data) {
  return request({
    url: "/api/finance.unincome/mine",
    method: "post",
    data,
  });
}

// 我的收款单
export function getReceiptListApi(data) {
  return request({
    url: "/api/finance.income/mine",
    method: "post",
    data,
  });
}